package sing.myapp.ui.h5

import android.app.Application
import sing.core.base.BaseViewModel


class H5ViewModel(application: Application) : BaseViewModel(application) {


//    var titleData: MutableLiveData<ResultState<ArrayList<ClassifyResponse>>> = MutableLiveData()
//    fun getProjectTitleData() {
//        request({ apiService.getProjecTitle() }, titleData)
//    }


//    // 省市列表
//    var provinceList = MutableLiveData<List<ProvinceEntity>>()
//    // 获取省市列表
//    fun getProvinceCityList(isShowDialog:Boolean = false,callback:Callback){
//        request({ apiService.getProvinceCityList() }, {
//            provinceList.value = it
//            callback.result(it)
//        })
//    }
}